package com.atguigu.spzx.manager.mapper;

import com.atguigu.spzx.model.dto.product.ProductDto;
import com.atguigu.spzx.model.entity.product.Product;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ProductMapper {

    List<Product> findByPage(ProductDto productDto);

    void save(Product product);

    Product selectById(@Param("id") Long id);

    void updateById(Product product);

    void deleteById(@Param("id") Long id);
}
